/**
 *                            License
 * THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS  
 * CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). 
 * THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW.  
 * ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR  
 * COPYRIGHT LAW IS PROHIBITED.
 * 
 * BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND  
 * AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE  
 * MAY BE CONSIDERED TO BE A CONTRACT,
 * THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED 
 * HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
 * 
 */
package com.lineage.server.model.skill;

import com.lineage.server.model.L1Character;

/**
 * Class <code>L1SkillExecutor</code> 抽象类:技能执行.
 * 
 * @author jrwz
 * @version 2012-7-24上午02:37:41
 * @see com.lineage.server.model.skill
 * @since JDK1.7
 */
public abstract class L1SkillExecutor {

    /**
     * 技能执行.
     * 
     * @param user
     *            - 使用对象
     * @param cha
     *            - 对象
     * @param target
     *            - 目标
     * @param targetID
     *            - 目标编号
     * @param skillId
     *            - 技能编号
     * @param getBuffIconDuration
     *            - BUFF图标持续时间
     */
    public abstract void execute(final L1Character user, final L1Character cha,
            final L1Character target, final int targetID, final int skillId,
            final int getBuffIconDuration);

    /**
     * 技能停止.
     * 
     * @param cha
     *            - 对象
     * @param skillId
     *            - 技能编号
     */
    public abstract void stop(final L1Character cha, final int skillId);
}
